<template>
    <div id="tg_container">
        <ToolBox></ToolBox>
    </div>
</template>
<style lang="scss">
#tg_container {
  flex: 1;
  height:100%;
  position: relative;
}

</style>
<script setup>
import {
  onMounted,
  ref,
} from "vue";
import ToolBox from "./components/ToolBox.vue";
import { get, post, post1 } from "@/api/service";
import {Init} from '@/utils/init'
import {store} from '@/config'
const init =new Init()
onMounted(async ()=>{
    const { accessToken } = await post(store.tokenUrl);
    init.load('tg_container',store.sceneUrl, accessToken)
})
</script>